package logic

import (
	"context"
	"homepage_srv/homepage"
	"homepage_srv/internal/svc"

	"github.com/zeromicro/go-zero/core/logx"
)

type GoodPriceLogic struct {
	ctx    context.Context
	svcCtx *svc.ServiceContext
	logx.Logger
}

func NewGoodPriceLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GoodPriceLogic {
	return &GoodPriceLogic{
		ctx:    ctx,
		svcCtx: svcCtx,
		Logger: logx.WithContext(ctx),
	}
}

func (l *GoodPriceLogic) GoodPrice(in *homepage.GoodPriceRequest) (*homepage.GoodPriceResponse, error) {
	// todo: add your logic here and delete this line

	return &homepage.GoodPriceResponse{}, nil
}
